package com.dime.physical.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 人员危害对象 dime_physicalharms
 *
 * @author Tiny
 * @date 2023-12-08
 */
public class DimePhysicalharms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /**  */
    @Excel(name = "")
    private String physicalRegisterId;

    /**  */
    @Excel(name = "")
    private String baseHarmId;

    /** 危害名称 */
    @Excel(name = "危害名称")
    private String baseHarmName;

    /** 危害编码 */
    @Excel(name = "危害编码")
    private String baseHarmcode;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPhysicalRegisterId(String physicalRegisterId)
    {
        this.physicalRegisterId = physicalRegisterId;
    }

    public String getPhysicalRegisterId()
    {
        return physicalRegisterId;
    }
    public void setBaseHarmId(String baseHarmId)
    {
        this.baseHarmId = baseHarmId;
    }

    public String getBaseHarmId()
    {
        return baseHarmId;
    }
    public void setBaseHarmName(String baseHarmName)
    {
        this.baseHarmName = baseHarmName;
    }

    public String getBaseHarmName()
    {
        return baseHarmName;
    }
    public void setBaseHarmcode(String baseHarmcode)
    {
        this.baseHarmcode = baseHarmcode;
    }

    public String getBaseHarmcode()
    {
        return baseHarmcode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("physicalRegisterId", getPhysicalRegisterId())
                .append("baseHarmId", getBaseHarmId())
                .append("baseHarmName", getBaseHarmName())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("baseHarmcode", getBaseHarmcode())
                .toString();
    }
}
